Fixes memory leak from #593

This should fix the memory leak with nested MetroTabControl.

Issue: #593