gfx/skin: added proper support for texture clipping.