Fixed "cast to int" problem in localization