Fix broken factory trigger edit.
Fix broken scene trigger editor.