This compass doesn't work! How can it be pointing to him? He's not my heart's desire, Will is. Or is he? No, no, no, don't be silly, it's just the compass malfunctioning, My heart's desire is Will, not him.
Which character could this be?
Answer: Elizabeth Swann
In this scene the characters were on a deserted island, looking for the Dead Man's chest. Elizabeth was holding Jack's compass, which pointed to the desire of the holder's heart, to look for the chest. When she found out that the compass pointed to Jack himself, she was surprised. She found out in a moment that the treasure was also in that direction, but which one was truly her heart's desire? Hmm....