setBoundsSafely - set bounds of window, make sure it's within screen