Nice idea! I feel like this can use a bit more polish (but most games, especially mine have the same issue) for example I can get out of the map and the baddies follow, and can kill me there. Overall it was fun!
Are you sure you're playing the game in full screen? If you are not playing in full screen it could appear that you leave the screen, but playing in full screen would fix this issue. Thank you for your feedback.