Added support for animated water and lava

- Fix some minor bugs
- (…)