Joseph Gangemi’s screenplay is based on a humorously macabre 1844 Edgar Allan Poe story that’s been adapted numerous times before, notably by two screen surrealists: Juan Lopez Moctezuma in his 1973 cult film “The Mansion of Madness,” and Jan Svankmajer with 2005’s “Lunacy” (which also took inspiration from the Marquis de Sade).