It seems like if you, instead of going into the pipe, fall to the left side of the pipe, and be very careful not to hit the pipe or the orange wall, you can sometimes avoid the graphics freeze.
From here, you can hop over to the checkpoint before the spikes you land on kill you, and then resume the game as normal.