minor improvement to mask drawing tools