Fixed bug when focus in block with contenteditable attribute