Fix progress bar which is longer than visible area.