Protect against a null ActionHandler object (FWNX-1305)

This allows Ibus keyboards in FwTextBoxes, and maybe other places.

Change-Id: If421a66b672a24e6a64331f249f2129fe8873813