fix JC.Panel resize event