Remove flicker from FXCanvas under Windows