The top left side of my top kitchen cabinet is coming off from the wall. This is only the top, the bottom is still firmly attached (see photos). The likely reason is the top hinge of the cabinet door was coming loose (from over use). I took off the cabinet door, fixed the hinge screw holes with the old toothpick with glue/wood filler trick and redrilled the hinge back in. Cabinet door now back in place. However, due to the hinge previously being loose, I assumed the weight of the cabinet door led to pulling the side of the cabinet away from the wall. With this slight tilt, the cabinet door briefly rubs the bottom cabinet door when opening/closing. From the small gap I can see a nail between the cabinet wall and the drywall. The end of this nail is not visible from the inside of the cabinet. Can I just lightly hammer from the inside of the cabinet wall to push the cabinet back into the side of the dry wall? Will this result in more unexpected damage or worsen things? See photos below: https://imgur.com/a/EuqQutN