mipmap bug on mac os