Added fix for bugged theme on max osx