Fixed segmentation fault when trying to move a player and the map didn't exist