Fix for a Rainbow looping bug I introduced