It's possible that you're making funny shapes, and in order to prevent them making an invalid solid, hammer is moving vertices around. Sometimes copy and pasting, usually from other map files, does this too, in which case you can use "paste special" from the edit menu instead.