Support HiDPI screenshot. Fixes #27.