apparently this code is needed to make sure the Treemap is visible on actions