Added some animation bug fixes.