fixed mipmap loading issues