Added state restoration to multi line drawing since Apple seems to preserve more state now