Keep a reference to the sheet alive while browsing

Fixes #366