Use KeyPressedEvent instead of KeyReleasedEvent when typing into the urlbar.

Reviewed by: trust me.