Simplify linknode painting, still no infinite loop