Prevent drop down menu from being cut off

If the menu was wide enough some of it could be cut off when it was
displayed.