The 57-year-old actor was accused of exposing himself on set multiple times.