Bugfix/overlay memory leaks

- fixed overlay cleanup method 

The overlay components remove method was messed up. Now the overlay stops its child components appropriately.