When JavaFX and physics collide