Made styling of dock widget apply only to OSX