GameObjectAI Fix Crashes and other thing need to testing yet =)

Signed-off-by: Salja <salja8840@gmail.com>