Single player Roof pieces block replacing walls and ceilings

Game mode: Singleplayer
Problem: Bug
Region: River east of Sentinels

This bug seems to occur everywhere. If I dismantle a piece of a building to replace it with a different piece, and there is a roof piece in contact with it, you cannot put a replacement piece in. Logging in and out does not fix the problem. Removing the entire roof and rebuilding fixes the problem, but is very annoying to have to rebuild 20 or so pieces to replace 1.

Steps on how to reproduce issue:

  1. Build any structure with slanted roof pieces.
  2. Dismantle any individual piece of structure touching a roof piece.
  3. Try to place a replacement piece where original piece was dismantled.