Fixed small bugs for player talking to NPCs.