fix canny crash in bug #2279