fix graphics updateBounds