Fix an animation bug on landscape iPad