Fix progress UI, thanks @tomrus88