I've always had my task bar up and that still happens to me from time to time. Can't recall it ever happening during battle, but happens a lot when flying, etc. I've gotten used to just moving my mouse through all the windows periodically.