Fixed a bug with mudballs.