[Fixed] take the left margin into calculation

- Now available for themes with non-zero left margin sidebars