Fixed the editing started/ended callback calls.