49155: improve vertical position of graphic object when a caption is applied

patch by: Ariel <arielch@apache.org>
review by: Oliver <orw@apache.org>