Fix: don't do anything on anchor click if a state change occurred on mousedown