Fix draggability bug