Fix visibility of graphics with lines