Fix perspective issues on rotation.