Fix slots when editor has been deleted