null pointer check in rendertank
fix rendering of liquids in pipes