Fix gif rotation.