Improved height calculations in Q/columns