Fix link jumping when clicking links in dropdown