Fixed Entity Behaviour initialisation error.

Signed-off-by: Bennie Leonard <bennie.leonard@gmail.com>
Merge pull request #212 from benniel/DE

Fixed Entity Behaviour initialisation error.