While some of these can be fixed with simple drywall repair hacks ... You might need to add a new nail or screw to support the frame if the placement of the old screws are wonky, or don't allow ...