Fixes display in iOS6+ / resolution-independent

In iOS6 the canvas rendered offset by a bit, and lines were drawn with the same offset from touch location. This fixes that, and makes it possible to use this class in a universal or iPhone-project.
Merge pull request #15 from joostvanderborg/patch-1

Fixes display in iOS6+ / resolution-independent