Add Scene.pageToLocal and Scene.localToPage

And fix crash and unit tests in min build