I already used that sample once too (for a editor), and had too my problems.
About that code now, I don't thing that the bug is in that code, its may how you use it:
Is the Vector3 you use for the view matrix the same as in that code? Do you set lastMouse = currentMouse somewhere else in the code?
If its non of those things, could you post the whole draw method?
Greg the Mad