Fixed warning for Camera.mainCamera