Added functionality that allows the tile to snap into slots when dragged into them.