Testing alternatives to clientHeight in legend