lasiest solution would be changing the line to be:

contains = list(/obj/machinery/hydroponics{anchored = 1})