Corrected getHeight for higher performance