Shim IQ Door/window sensors?

We are getting ready to install our IQ mini door window sensors. Our doors sit about .25 in inside the door frame so the magnet and sensor do not sit exactly on the same vertical plane. Do we need to shim the magnet so it is exactly even with the sensor? Same with our windows… thanks!

You shouldn’t have a problem with the window a little deviation isn’t a big deal, but the door is potentially too far.