Fixed Rainbow infinite mode bug