Fix: Unable to put the cursor on the staged message