Fixed bug with reflections