Fix container option not working on keydown

This fixes issue #466,  the menu not obeying the container option when opened using keydown.