Fix thumbnail frame origin miscalculations