Fixed unselectable cell bug
Regarding pull request #132, fixed the unselectabled cell bug when dragging a cell in a direction where there are no buttons.