Fixed an issue with pipes filling