The issue was that `retrieve_editable_drawings_grouped_per_frame` returned garbage memory, leading to a crash a bit further. The fix adds a nullptr check to make sure the `current_drawing` exists and can be safely dereferenced.
The issue was that `retrieve_editable_drawings_grouped_per_frame` returned garbage memory, leading to a crash a bit further. The fix adds a nullptr check to make sure the `current_drawing` exists and can be safely dereferenced.