adjusted amount of locationX change to half of game canvas width