fixes #2, mouse stuck when alt-tabbed in starmap