Remove render edit flag and fix a nil room state crash