Use AnimationTimer instead of Timeline in JvmClient