add window:ensureIsInScreenBounds to make sure a window is completely visible on the screen it is currently on