CDB-3739 #fixes text editing in Safari