added z to getPosition on light