Bug aside, to beat the level you have to: Save ice using rock -> Leave Ice next to purple path -> Drown rock to move fire -> Join fire and ice to win