| update:
| update: just redraw the canvas when event is NULL.
| update: fixed the rendering issue.