Release and show the cursor when focus lost