Cast coordinates to float (fixes #39)