Calculate real layer position using a different approach that makes offset calculation unnecessary. This closes #13, and makes me happy.