Fix for context menu hanging up in GAL.