Fixed custom tex loading