Work around a bug in JavaFX that leaks animations from invisible ProgressBar/ProgressIndicator controls, thus burning up the CPU on animations nobody can see. Fixes #58.