Despite nearly a decade of solid film and TV work , it wasn 't until she strapped a creepy paedophile , played by Patrick Wilson , to a table and proceeded to perform an impromptu castration , in Hard Candy , that the film world took notice .