fix for mipMap=false error