crashes when creating new drawings

Other HiPaint issues: