hide

Sets the window visibility to false.