Fix issue of loading bar misaligned