Restricts the object to the camera view