fix depth issue with very high accuarcy setting.