stopped them from runing off the map