Fix showing / hiding loader.