allow arguments of getPixel() equal to bound and ensure that arguments x & y are rounded