Fixes a bug when switching to rain from acid rain