commit 7b1373b8bded55eedc2328c1afd3eece6d259c34 tried to add an
offset to the output viewer rendering. However the implementation
was somewhat naive. The result was that the desired rendering was
not observed until an expose or resize event occured. This change
improves the implementation.