Hmm you're right, clicking on a menu separator closes the menu. I've never noticed it before but can see how it might be annoying. Unfortunately I don't think it would be possible to change this behaviour without delving deep into the low level menu handling code, which of course only Apple has access to.