Fixed offset bug.

Fix offset calculation to include offset width plus a gutter either side.