Window: put window on top when made visible, fix typo