This may occur if glazing on an adjacent wall is close to the corner. If possible, move the glazing back away from the corner. There is also a tolerance value in Settings which may be adjusted.
Glazing close to corners may interfere with generative design from the application