player can't move out of screen frame (fixes issue #7)