correct fix would be to remove the first clause of the for loop completely:
<pre>
for( ; j &lt; win_size.width; j++ )
</pre>