Fix minor potential issue for camera positioning