That disables the zbuffer, so it places everything drawn on top, but it doesn't reset the perspective nor does it change the fact that it's a 3D renderer. A third alternative solution (and better than the translate option) might be to reset the perspective manually. Place the custom perspective() call at the top of draw() and put the default perspective() call before the rect, text segment. You should probably also add hint(ENABLE_DEPTH_TEST) at the end of draw().
Depending on the situation, placing 2D on 3D is usually a combination of hint(DISABLE_DEPTH_TEST), hint(ENABLE_DEPTH_TEST), camera(), perspective() and noLights().