Fix menu not obey container option on keydown