Fixed crash when kami was off and mirrors enabled. Fixes #237