Selection pixels on image border are no longer missed

Fixes #71