Fix loader bar (issue #4352)