Your own phone rings first. That's the design.
When you click a number, your phone system rings you before it rings them. Answer your own phone, and the system then connects you to the number you clicked.
This surprises people, and it isn't a fault. The call is placed by your phone system from your extension — not from your browser — so your extension has to pick up before there is a call to connect.