A comprehensive but ridiculously expensive workaround for a bug in dijit