My bad, it should have been updateDimensions(). When we switch back to absolute positioning, we need to calculate the top and left based on the position of the node. The updateDimensions() method already does this. I think it's clear now from the code.