Improved fullscreen mode

+ Fixed maximize button bug when window is in fullscreen.