Changing method call from setContentBox to setContentSize, fixes #16837 !strict