Change the order of lines being drawn to support boxes being able to be placed on top of curves and lines.