Update spawnicon.lua

* Fixes clicking "Resize" automatically rerendering the icon.
* Remove all trailing whitespace and semicolons.