Added a window close button for mouse