Fixed bug where pasting in inline mode on Safari on Mac wouldn't work properly.