fixing keyboard focus when selecting a blank character