Wired Floodlight cam not flush with junction box

The floodlight mounting bracket doesn’t sit flush with the junction box. The screws that hold it onto the junction box stick out too far. I tried mounting directly to the exterior wall, but that didn’t work either.