Not just a Tesla problem as I recon all cars using lane markings will have done the same. My Passat will constantly try to pull me into off-ramps or whenever theres old paint or other weird markings.
I don't think Tesla's capabilities are the issue, their marketing is. They should've never called it Autopilot if it's just the standard adaptive cruise control + lane assist that nearly all manufacturers offer.