Pressing ENTER at the beginning/end of a row inserted the node at the wrong position, if the cell next to the cursor was empty