Fix for focus bug.
Select, copy, cursor working better.