Fix contentEditable check