error where jumping off the map loops around to the other side