work around chrome and mutation observer bug. fixes #1099