Fixes bug where enter button removes a tile