Fixed localization with x and y correction