Fix region resizing