Better border behavior for map_coordinates.
Make sure input is floating-point