Add vertical centering for the device overlay.