Fixed cloud rendering bug

caused by code removal of course.