Update panel.show()

Only check for misplaced anchor once.