fix frame display when hide-debug&on-tab change