Fixed coordinate handling.
Merge pull request #3 from 0gb-us/patch-1

Fixed coordinate handling.