fixed a bug in dragging the skater