Fixing bug in sunset placement.