Stop flickering in rendering of charts in Writer

Change-Id: I52efa9cd7851f480ee2abcaa1646735c6f518f3a
Fix rendering of GL3DBarCharts after ODF import

OpenGL window need to have a valid size before
rendering.

Change-Id: I3ce3dbf653f0dc101de3acc4d634d7fe6c3be9ad