If Mac, use the fillRoundRect method