Reset line style back to default to prevent drawing problems.