fix for 'illegal invocation' when animations are off