fixed upper/lowercase problem when setting textbaseline