Corrected where comment lines are painted