Fix regain focus

Addresses problem described here:
https://github.com/leapmotion-examples/LeapMotionCoreAssets/issues/30