fix bug with incorrect texture mapping in asset loader