Fixed editing infinite surfaces. See test4 in pattest.py.