Fix popout window overflow. fixes #43