Auto-hide menus by default

This fixes an annoying issue with inline menu input widgets, but also
works well in other situations.

Change-Id: I0b16e19d2b91b782656df7af6e0e0f186ef8da65
Merge "Auto-hide menus by default"