Removing superfluous animation flags