Fixed invis I stupidly had cast it to a local variable
Merge pull request #124 from scottdavis/fixInvis

Fixed invis I stupidly had cast it to a local variable