fix drawing artefact in draw task