Moved getHeightHelper down some lines to match its order with the prototype.