Fix for camera Z issue