Fix filter dropdown list highlighting issue with re-registering mouse event handlers.

This is a better fix for #7969.

@bchintx Ready for review.