DE18615: fix layout for resize