Workaround iOS bug where clicking Menu can focus/click an input/button behind it.
Fixes #17816.