Re #10171. Protect against failures in Rebin.
Merge remote-tracking branch 'origin/bugfix/10171_pick_tab_shape_crash'