fix: better fix for the Firefox private browsing invalidStateError

Fixes https://github.com/mozilla/localForage/issues/195