Fixed colorIndex off by one error

Same bug as before, different place. QQ
Before, the 6th/11th/16th etc color would mess up.