Fixed the enabling/disabling content editing.