Fixed animation queue bugs.