Allow Selection of Collision Shapes with the Mouse
Allows selecting collision shapes via mouse input in the new tileset editor.
During implementation, I added 2 new methods to keep the select_coord method a little smaller and refactored it a bit.
Should resolve #26369 (closed)