Just shifts stuff around to try to make resizing work