Make sure progress bars don't overflow