adding extra barrier after matrix draw, fixes #102