Fix for animation