Self explanatory... hole drilled too close to edge of cavity wall. My initial thoughts were to route out with forstner bit and glue piece of dowel in new hole, drill hole to receive screw in dowel (tearout of adjacent wood is a concern). Or, cut and drill new cavity cover, drill new hole closer to center of cover recess about 1/4" from original hole. Or cut a keystone shaped recess centered around original screw and cut a matching keystone shaped plug to fit recess, glue in place, drill hole for screw. Use original cover.