Fix progressBar not shown