If it's not directly beneath the light, it's probably reaching for it. You can use a piece of coat hanger or something similar to stake it upright in case it tries to fall over. Once the stem strengthens, it also straightens up.