optimized convert.shape_to_pixels (shifting positive coordinates to 0/0 too for smaller pixel palette)