fix for setCaption on tab overflow items for issue #855