If you right click on the "select objects" mode icon for options, there is a series of checkboxes where you can control what can be selected. One of them is "Select Terrain". If you disable it, you will no longer keep selecting it by accident.
DOS2 Mods: Happily Emmie After and The Noisy Crypt