Panel: Invalidate _openedPage upon pageshow before recomputing wrapper

(cherry picked from commit fecdc4938ab543605df66e44fa76eb7308146b3f)

Closes gh-7799
Fixes gh-7711