player and enemies can't move out of level boundaries