Fixed the array out of bounds exception when accessing drawn[][] from
getClosestPixelCoords(). draw[][] was always declared fixed rather than
being proportional to the image size.