More corrections to the DOM hoisting mechanism for typing near floats