Fixed ProcessBehaviour.cs crashing if a process behaviour instance created a new one during update

Signed-off-by: Martin Evans <martindevans@gmail.com>