client: set the right parent item for new elements on the background