Per the reddit thread here.
I've reproduced the isssue, you can click on a pokemon multiple times when using a stone. Your stone count can go negative and it will catch and roll for a shiny on each new click, so this could be a balance issue if you have a very fast auto-clicker.