Check for goal before rendering progress bar

This works well too because the UI will still work in this condition.