update: Match detection of statusbar to the changes to window.pike