More elegant solution to infinite mirror loop