Fixed bug when wrapping javaFx Point to api Point