better fix for bug 27338 - doesnt rely on line-height