I recently had to replace a badly installed back box for a light switch. The switch had been moved when the door was 'flipped' to open to the right, not the left, and had been done really badly, with glue, silicon sealant and bits of wood wedging it in place. I decided to do it properly. The switch is right in the middle of the panel, no where near the studs, so replaced the back box with one of the drywall ones which have moving 'ears' that tighten against the aperture as the faceplate is screwed on. All good, and now looks a lot better. Only problem is the absence of a point inside the back box to connect the earth wire, which the original metal back box had. With my very limited understanding of electrics I believe this is there to prevent the box, and therefore the screws, from being accidentally made live? Is that correct? In which case, presumably the plastic back box doesn't need it? At the moment the earth wire is sitting lose behind the switch. Is this okay, or should I have done something with it?