Bug fixed with color equal to nil.