Only check for line dash pattern when annotation has a visible border (bug 957034 followup)