Workaround insertbefore-of-null