It can cause problems when the geometry restore value is invalid BUG: 473602 (cherry picked from commit 86db3b43)