It's just a ride that isn't meant to be taken as seriously as you are taking it, that's why.
I drew the parallel to Haunted Mansion to illustrate that. Haunted Mansion shows murder in a lighthearted way. No one is meant to take it seriously as real-life murder, though- we enjoy it as ghoulish fun.
Likeways, POTC shows pirating, which includes murder, torture, kidnapping, and theft, in a lighthearted way. No one is meant to take it seriously as real-life muder, real-life torture, real-life kidnapping, real-life theft, etc. But we enjoy a cariacature of the spectacle from a safe distance during the ride.
I'm sorry you don't like me bringing a parallel into my reasoning. You bring a parallel into yours, as well, when you compare a theme park ride to sexual slavery. So, what's good for the goose must be good for the gander.