FIX: CImage constructor from a matrix crashed