Fixes machine animation not changing while running