Fix some small Button/Menu compatibility issues in IE7/8.
(cherry picked from commit 0bb2439)