Change to checks for source blocks in the painter.