Fix pipe rendering (issue #1111)