Changed x and y to displayX and displayY