Fix #303 : progressbar disappears when loading is finished