Custom drawn grips are randomly disappearing (C++)

I had exactly the same issue. It appears only when some grips are far in space from the parent object. This display conduit by Dale in this thread solves the issue:

May this be a bug @dale?