fix(topbar): Removed unused $window declaration