Validate input when setting the projection in a camera component.