updates and fixes for RGBDSensor