Focus follows mouse clicks

Ensures focussed element is updated when cursor is moved via a mouse click