d1f55ec69a
Fixes being unable to switch back to the previous pipe type without switching off it and back after using the delete or paint modes.