Fix bad postdecrement of NodeSet iterator
Created by: pixelglow
When scanline.find(v)
finds the first scanline, the tests decrement the iterator before the first scanline, which is an invalid position and causes a crash in OS X / iOS libc++. The fix doesn't decrement the iterator if it is already at the beginning.