Fix nondeterministic project selector

Mouse up and our blur handler were racing.  We solved this with a
slightly strange looking mousedown / mouseup event handling pair.

Bug: 71333
Change-Id: Icc159c3cd826f303f19cad4e1d6737f9fb5f8ea0