CMS-3807 Live Edit - Fixes to component highlighting

- fixed the event.srcElement null pointer
- as well as this.el.classList null pointer