Prevent overlay header from covering button bars

When the keyboard was opened and a button bar had position fixed (e.g.
summary in editor), it would get partially covered by overlay header in
some cases.

Change-Id: I542641ed29d873f6b065193f8c0ada4b3335df4c