After my Apple Mac Machine resumed from sleep, all the programs works normally except the dock icons. The dock icons keeps on moving but none of them works even after many clicks. The problem is only when the machine is resumed, but on a fresh start every application works fine. What is the solution in this case?