Hide cursor when switching fullscreen on/off.