Merge pull request #9 from nicoyuste/master

Bug while giving strange coordinates that made it crash.
Fixing bug with the animation while setting region.
Merge commit '5317c897541acf1bd300c0491f2abfc3487f5f2a'