Bugfix: run finished function if animations are disabled