EGP Emitter: Fixed improper positions involving parents
Deals with part of #497