Fixed a bug that caused the depth image to render upside down.