added restriction for camera position