To avoid passing in the `app` you could use `self.apps.displayed_app.frame`.