Fix for Superfish menus.

The previous commit worked well on Firefox but not Chrome.