Added parent var to tiles
Changed the way mousedown finds and sets the dragged tile