Improved painting of double rules a bit, fixing a bug causing the message: "Invalid axis rule: unable to draw line"