fix editor overflow when dragging cards