How old is your mac?
What OS X are you running?
Tried to replicate the scenario on a 2014 MBA 13" running Mavericks, didn't happen to me. Are you using only mouse or have you tried using trackpad? If you've only been using mouse, try with the trackpad and see what happens.