Clear marker/line as soon as you click the clear button. Fixes #24