Fix UI textures breaking when Slice3D is used.
Textures were not drawn correctly if more complicated rendering set the active texture to something other than 0 (i.e. Slice3D).
Textures were not drawn correctly if more complicated rendering set the active texture to something other than 0 (i.e. Slice3D).