I think this is a weird issue... And maybe another bug!
I insert html via innerHTML to a div like this:
innerHTML