c3context: Added a view draw callback