Partially revert 44c7de3: fix items text width offset calculation