Patch for https://github.com/Atmosphere/atmosphere/issues/1682