Fixed a stack overflow in "ColorRange.SetupCustomUIElements"