Improved the camera lock.