The plastic part on the heatsink is likely worn and will not hold the screws in place. I recommend getting it replaced. Best if you can get a hp oem part, but if price or scarcity is a factor you may just have to go with a generic.
Other idea was to glue down the heatsink, but could create unintended consequences.