Fixed bug with NPE when clicking outside game window and then returning back
Merge pull request #52 from onix/master

Fixed NPE when clicking outside game window and then returning back