I rewrote how a table is inserted into inline elements so that it is inserted after the selection. This fixes the problem you described here.