Hide mouse cursor when menu is hidden