Floor refactor: Fixes a bug where adding a floor tile to lattice created a covered tile. Fixes burnt_states runtime.
Merge pull request #5582 from tkdrg/thiswentbetterthanexpected

Floor refactor hotfixes