Fix depth buffer not cleared.