[COMMIT] Wrap call to XtRegisterDrawable with check that XtWindowToWidget gives NULL