fixed Input cursor offset

fixes Input cursor offset for all textAlign values