softpipe: Properly implement cylindrical wrapping.