Fixed a minor issue when trying to destroy a non existing drag_api