Fixed a crash bug with seeing the sky