Changing only one object value of an array in setState in react

I am trying to change an X position of the image from one object in array. I want to change the position X in the state and then go through that state and make an image for each object.
I am getting undefined after I change the state on line 123.
This is my codesandbox