Fixed confine so it would work as expected (cannot be inside set code block)
Merge pull request #8 from natewalck/master

Fixed confine so it would work as expected (cannot be inside set code bl...