Fixed font postion calculate bug.