fixed out of screen bug

fixed a bug where monsters and players could move out of screen (right
and bottom side)