fixed texture emu in gwt