fixed a small bug with zoom reset while changing camera mode