Fix Lua UI atlasing
In current master atlasing simply doesn't work. Any values of size
smaller than the full texture passed to ui.texture
will result in nothing being rendered. 0.48 isn't affected, and this code hasn't changed at all, so it's likely caused by a MyGUI update (not sure if 3.4.3 or earlier).