Derived from Raze's bug fix, did you do step 6?I only recall you asking here about the imp, not the elf.
Kiya
1) Save your game under a new name (better safe than sorry), such as 'imp fix'.
2) Rename or otherwise make a backup of the dialogs.000 file in the newly saved game folder (important). You must restore this file at the end of the procedure).
3) Find a saved game from before you talked to the imp at the Ducal inn and refused to touch the sphere. If you do not have such a saved game, start a new game, save it right away and use the file from there. I tested this with the same character class, gender and name as my broken imp quest game, though I do not know if that is required or not.
4) Copy the dialogs.000 file from that saved game folder to the 'imp fix' folder, overwriting the file there if necessary.
5) Talk to the imp and agree to touch the sphere. Once you get teleported, save immediately to a new game, such as 'imp world'.
6) Delete the dialogs.000 file from the 'imp world' folder, and replace it with the backup copy of that file from the 'imp fix' folder, re-naming it back to dialogs.000
You don't need to quit the game between steps, but you will need to re-load the saved game after replacing files, in order for the changes to be recognized. Just to be on the safe side, I loaded a different saved game before backing up or overwriting files, to make sure the game wasn't keeping the file open, or would otherwise become confused with the sudden change.