The surface tension of liquidus solder exerts a considerable pulling force on a component during reflow. This is why, once upon a time, small components could be relied on to self-align on SMT pads during reflow. They still can, of course, providing that all things are equal, such as pad dimensions all around. But if they’re not, you can expect problems.
In this case, two components had shifted away from their center location on the PCB footprint during reflow (Figure 1). This was due to the fact that a large SMT pad on one side of the components, see photo, was exerting a stronger pulling force on the component than the ordinary-size pads on the opposite side. More surface area means more pulling force, and consequently component misalignment. It doesn’t matter that the placement machine put the part in the right location beforehand.
Mechanical fixturing simply wasn’t a practical solution. Instead, two dots of temporary solder mask glue were applied to the corners on one side of each component, prior to reflow, to hold it in place. The glue acts as a temporary adhesive and prevents the parts from moving during reflow because it is stronger than the pull of the liquidus solder. After reflow, the glue is easily removed, and the SMDs are perfectly centered. Problem solved!