Is this switch properly grounded?
That screw looks like it's for the wire clamp that secures wiring going through the back of the junction box. Instead, you should connect the green wire with a wire nut to the exposed copper wires that I believe are visible in the bottom of the picture. Make sure to use the proper size wire nut, which is based on the wire size and number of wires being joined together.