Fix for seeing the caret when using the cursor while editing a text field

Change-Id: I3daaf1bc1b6d0aa312bcdeae8fcb278642c9a999