BUGFIX: Quit by window manager is not working