Fixed inserting Snippet in Chrome bug (issue #362)