Fixes animation bug, the issue was actually caused by me when we were
searching for the transparency bug.