Fix Read Only checkbox deselected when pasting snippet code