bug fixes for collision detection + work started on cursor and drag-n-drop tiles