javafx mesh generation fixed