Made change in x and y absolute values