get height method changed, the height is always calculated instead of cached