do not absolute position canvas
use e instead of event as not supported in all browsers