I'm guessing this is somehow related with using the camera view, but a comment explaining why this check is needed would be nice.