Window does not catch resize sometimes

In the main level editor, if you resize the window, it catches that and moves the UI around. But if you’re in the behavior editor, or sprite editor, changing the window size does not adjust the UI and some buttons can end up outside of clickable range