Fixed Entity Behaviour initialisation error.

Signed-off-by: Bennie Leonard <bennie.leonard@gmail.com>