Overlapping problem

A common overlapping problem. He counts the points well and at a certain moment creates a problem. Take a look and help…

https://funclick.rs/maslacak/maslacak.html

what exactly is the problem?