remove controls before dumping canvas to dataURL

fixes #371