From a side view, how does your body look in terms of position of joints?
Is your hip ahead of your shoulder? You should take a macro look at your entire body.
Sitting a lot may cause tight hamstrings which may lead to a swayback posture. There may be an anterior shift in your pelvis and/or increased posterior tilt of your pelvis.