Fix on previous commit (#3) that caused problems on setting the coordinates from the map