svg was losing the current dash type after drawing a key sample