Moved drawLine from inner function to closure

Should have done this to begin with. Previously, the function was getting recreated every time drawSilhouette was called.