Tileset editor: clicking a transparent pattern now selects it.
Fix selecting patterns whose size is the same as the selection rectangle.