Solved bugs. Especially bug with dragging of element