fix editor active/inactive event