Fix bug

Fix don't disappear resize panel