Fix button margin wrong on MacOS