In an attempt to prevent the buttons from clipping the icons, the buttons were increased in size. This allowed them to go off screen, which I do not think it the proper behavior. This patch offers a solution to the problem by making the buttons not exceed the icon size and to set the icon size for the buttons to a smaller size to account for the border. If the buttons are set to be flat, then it uses the normal Icon size.
Taskbar Buttons: height of normal icons
Icons in Taskbar Buttons: reduced to prevent the icons from being clipped
Flat Buttons: no change