Panel size problem fix