mipmaps failed to create on non pow2 images