Experimental fix for crash when using RGBD images.