Fix topbar resize issue

Fixes #85