Added offset so that vertical centering doesn't take image metadata height into account.