Photographer almost gets hit by race car