Fix the sprite field disabled in the NPC properties dialog (fix #303).