Memory leak fix

Fixed a memory leak that occurred when a scope held a strong reference
to an activity/fragment