fix(topbar): Fix topbar resize issue