Fix custom progressbar