fix(locating): fix problem when layout auto count background right align