Do not set width/height on items that are managed by a layout. Every item had the same size because of this. (cherry picked from commit ad1e59e0)