#273: Fixed NPE in DepthDemo

#273: Fixed NPE in DepthDemo