Another attempt to fix internal_spacers in panel