Don't "assert(color.is_valid())" before setting the colour's alpha component - it...