How to fix an arrow's coming back problem

Hey guys,
I’m trying to create the “Gold Miner” game and I have a little problem that I’m stuck with.
very time I click the mouse to send the arrow to catch a stone, but the arrow is sent to a place where there are no stones, what happens is the whole screen shakes and the line of the arrow appears everywhere non-stop … I was told I had to reset something but I failed with fixed that.
I would be happy for help on how to fix this
Thank you
image

image

image