The stem has just stretched and was probably blown over by the wind, or it couldn't support the weight. However it happened, don't worry. It's growth seems to have readjusted upwards and will continue to grow that way. Happened to a couple of my plants this year and when i transplanted them i just buried the horizontal part of the stem under soil.
Good luck.