parseInt region coords as -1 is evaluated as a string
Merge pull request #1 from shama/parseInt

parseInt region coords as -1 is evaluated as a string