Fix ConvertFlashRotation