Bug fix, units is able to find target!

Units sees everything inside the viewDistance radius. Units should not
see objects behind buildings. All smartpointers holding a unit is
removed.