Fix enum setting for camera modes