Draw loading bar only while loading