The first example there is a problem with the third cube down on the left. The second looks great.

Not sure what you mean HTML rendering. Need more info.