I think I’ve had the same problem before. Usually happens when I start running faster than previously at top speed. I feel dizzy after. However, you get used to it eventually. I put it down to the Vestibulo-occular reflex (ear/eye reflex) which is supposed to steady your vision when your head is moving. The brain works it out eventually and settles things down.
How long has it been happening and at what part of the race?
Have you recently had an inner ear infection?