Improved detection of selecting the very bottom row or the very right column of pixels.