Fixed issue with clouds extending the body outside of the viewport.
Fixed incorrect condition code mappings.