fixes "undefined is not an object" exception in af.ui on "exit-edit-reshape"
Merge pull request #299 from dpesch/fix-v2-undefobject

fixes "undefined is not an object" exception in af.ui on "exit-edit-resh...