Fix bug chnage panel position