You can get rid of this if statement and move the code to the bottom of the `else` block above.  So it still only executes when `clockStep !== ClockStep.SYSTEM_CLOCK` but you don't have multiple checks.  Plus, in reality this block should probably only execute if `shouldAnimate` is true anyway.