Fix tooltip example by adding reference to context

This fixes issue #27