avoid doing zero-size refreshes

Those refresh requests will crash (at least) Kobos' framebuffer
driver and create the image of a locked-up device.
Beware: device is not actually locked up and does in fact react
to touch screen events!
Merge pull request #292 from hwhw/master

avoid doing zero-size refreshes