auto remove canvas element.