Adds a necessary check to ensure that pipes on top of plating can be painted.