Fixes some RPD bugs

Fixes pipe painting not working.
Fixes 4-way manifolds and disposals chutes displaying broken icons.
Fixes the lack of Sort Junctions from the RPD.
Fixes #6627