added a workaround for dashing of scaled paths