Issue #5618: replace (g|s)etSize with (g|s)etContentSize in UI Test