You can specify if a wall foundation breaks beneath doors and windows.
When you create a door or window that extends to the base of the wall, the wall foundation breaks beneath the new element.
To change the default behavior, access the type properties for the wall foundation and clear the Do Not Break at Inserts option in the Wall Foundation Type Properties.