[MapEditor] Fixed errors when maps don't start with x and y at 0.