Bug 824162 - Don't mess with focus until after the event target handles it. r=gavin, a=lsblakk