Just monitor focus directly rather than introducing dependency on dijit/focus.  Also, move definition of getEffectiveBox() outside of domReady() to prevent exception on page load during dijit/place test.   Refs #16730 !strict.