Modifications to GfxElement