Fix text-ascent jumping bug