fixes bug in resizing of paths refs #60 #core (cherry picked from commit 685971a)
fixes bug in resizing of paths refs #60 #core
(cherry picked from commit 685971a)

raphaelstary/highfive.js,raphaelstary/highfive.js