Small leak on entity objects

[#44830257]
Adding workaround for mapkit leak

Was wasting a few kb per composer show

[Deliver #44830297]