Do you have anything running in the background? This might include a instant messanger or virus scan.
It could also be that you accidentally hit an Alt+tab or Alt+esc type of key combo. I assume that isn't it though, since you said it seemed "random".
good luck.