Fixed missing variable
Merge pull request #64 from Crotalus/bugfix/windowed

Fixed missing variable