Fixes an issue with contextmenus.
See #403.