window_frame_set_rect should work. If you've got a minimal reproducible example, I'll take a look at weekend.
As for taskbar overlap, I've seen someone mention that but again, it's hard to tell what's up without reproduction steps, and even then it sounds like something on Windows' end so is a matter of whether someone is willing to sit down and try different hacks until something fixes it.