Fix action delay caused by animations