clearing canvas before each draw