Living Quarters and Medical Bay Turn Off

it is bug, but there is fix to this with a mod: