Fix problem with pasting items into the browser