made invalid pixels in depth image to be an NaN