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.