fix(uiView) check for isDefined($animator) need to be !==null