Solved Bug in dragging components