Fix a bug with null spinner image