The observed problem was due to the fact that the resize of the screen would not trigger the update of the height of the operation line in the list.