The screws are fan rated if they extend into the back of the box. Make sure the framing member is fastened with at least two large head screws. It looks like there are, as the wire is encircling one. There are no threaded rods in fan rated boxes.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.