fix(pos): unsupported operand type -=: for 'float' and 'NoneType' (#26097)