Sometimes when you call
128, new IntegerCollection ());
Is it possible to somehow prevent the bug or correct drown?
Sorry, but there is not much suggestion that can be provided for such rarely reproducible problems.
You may need to isolate the part of the code that uses the transient graphics and try to reproduce the crash.
I can understand that this is quite difficult but I dont see any other way to know what could be causing it.