Fix x offset
Merge pull request #2 from diorcety/mod

Fix x offset