core: fix buffer returned in focus info for bar items with a forced buffer