Determine size if itemUi is created

Otherwise it would stick static and could not handle
a resize