Fixed another bug for depth texture