Yeah it happens randomly sometimes and I don't know why, but it usually happens when the balls' vectors are the same. I could probably fix it, but the amount of work I would have to do is not worth it :P
To fix this i just go to a corner and hold the corresponding arrows to go in the direction of that corner and it just comes undone....
Someone who thinks death is the scariest thing doesn't know a thing about life.