Use tab size instead of image size

On retina displays the captured image is twice as big as reported by `tab.width` and `tab.heigh` - which is natural. So when drawing on canvas we can use `tab.height` and `tab.width` to downscale the image.
This commit fixes #8