JavaFX Demo : JavaFX's Bug and How to solve