fixed panel docking bug