This happened when the search submit button was changed to be a search icon.
It is using the <img> tag so the image is rendered a few ms later and meanwhile the button is empty.
When the image is rendered, the button width increases so the dropdown + the input slightly move to the left.
Thanks to @ori for the video: