Fix warning when no behaviors attached