Fixed a bug: When clicking on a tile with the right mouse key without selecting a tile first gave an error