Implemented @neilmendoza's mipmap fix. See https://github.com/openframeworks/openFrameworks/issues/2942