When painting an inline image, do not paint below its baseline unless its selected. The invalidation rect should not extend outside the content rect of the image.