better algorithm for circle clicking