fixed bug where last tile selected was not being matched
bug fix
bug fix
bug fix