Going back to precedent paperjs version and correcting bugs