Improvement performance for JavaFX 8