The gadget render function should only return TRUE if the widget has the focus, and wants it rendered.