The couch cushion on top was there to try to prevent her from climbing out. She ended up needing help to get down. Who knows how long she was up there, we came home to find her like this (the door was closed before).
She happily stayed in her pen without climbing out for over a year before she started doing this.