Bug fix for incorrect new-row position when element on the new row moves as a result of resize of the row above it