Add pointer to user data into save canvas callback