Fix scope leak in hide.

Pretty marginal for a pull request but assume it's unintentional (no biggie if not.) Such a nice and useful library BTW, thank you.