I understand that you need to re-bind unwanted keys to something else rather than clearing them: if they're cleared, the game will try to "fix" them be reassigning them their default values next time it starts. The solution is to assign them to something you'll never use, which apparently fixes it ("apparently" as I haven't tried it myself).