Figured out approximately where error lies

Must have something to do with introduction of PhysicsShape.