Fixing a bug with rotation when the zoom out effect is enabled