Show/hide the cursor correctly.

It uses a counter, so we may need to call it more than once.
Hide pop up windows in full screen.

Otherwise, they get in the way even though you can't see them.