This is a well-known issue with the current publicly available version of the Tesla auto-pilot: it largely ignores stationary objects that partially obstruct the lane.
The next version, currently in closed beta, is supposedly better at tracking parked cars and obstructions.
However, from what I've seen from dashcam videos by beta testers, it's still quite bad. Vehicles "pop" in and out of the AI's perception regularly. Not as bad as before, but still quite scary.