Previously it would only register the hook for JavaScript constructed Memory objects. This allows Ruffle to load again.