Fixing window scroll when pasting