Add compile option to hide OpenGL widget when modal dialogs open

On OMAP3 the OpenGL layer always appears over graphics contents
(I.e. Qt dialogs), modal windows that can't be seen then effectively
hang the application.
The layer is shrunk to zero dimensions to remove the rendering layer
from view.