Fix uninitialized error with entities.
Fix haunted armor render error.