Fix regression with moving the cursor to the end for right aligned cell editors