Added a button to toggle collision

It's in the object spawning dialog, as that's what it's most useful for