Revert "Remove 'force overflow button' logic."

This reverts commit db9b5f0cda227e93e1060dd7dd193f4db35fc94c.