fix bug with sun position being incorrect