You should contact your care provider whenever you have an episode, and it sounds like you have. But you need to be checked to make sure it isn't something serious.
That being said, there is a large increase in blood volume while you are pregnant. Your eyes are very pressure sensitive, and the increase in blood volume can cause changes in the pressure of your eyes, thus changes in vision. This is why they won't do corrective eye surgery when you are pregnant. Maybe this in a combination of overexertion/overheating and blood sugar is causing your episodes? You really need to keep in close contact with your care provider to make sure it's nothing serious...
Good luck to you!
