fix a bug from rendering photo layout of empty room