Fixed problems with style attrib and ProgressBar