Fixes 226. Ribbon resets when reopened