fix: window sometimes just wouldn't show up on start