Fixed and refactored image loading icon