Spark when key is turned to the off position?

also does the ballast resistor need to be mounted to the car as far as a ground? the resistor just kind of sits there and is not mounted but as far as I can remember its been like that. Could that be an issue?