Added canvas reset method.