Fixed issue with global rainbow