Allow GLOBAL_TEMPLATE access to width and height.

This is useful in a few cases, where I need to set the background
dimensions explicitly.