avoid drawing artefacts when adding new constraint