fixing leak on pagePositionImpl and reverting JGropus fix as that's breaking 2.3.x testsuite