Resolves: #i51453# avoid relative sizing for the picture and...

formula wrapped by inserted frame when caption is added

(cherry picked from commit 0681d4e0cd7425349600672964e48a5dbbb3c7db)

Change-Id: Ie526391b8676c259a77060dbe04c3e7c8ad499c0