Fixed a problem where ribbon would move away when user clicks but navigates cursor away from ribbon