init canvas when draw