The depth test was not set properly and was relying on the (now moved) text drawing to always disable it.