Call to random y position doesn´t work properly

Do you have other balls/sprites on the canvas?

This could be a case of a ball not going where it is supposed to go because of the position of other balls. I have seen this before.