Prevent paintTileChunk from throwing an exception when the draw call results in an zero width/height draw.