Altered to match changes to Box2d libGDX core library.