Fixed positioning of windows that are child to main

They didn't have a parent so they got a random location on screen and that was a bit shitty