Possible fix for button resizing on mac, need mac testing.