This is needed for multiple windows to draw the batch presets. This will not be needed once we use only one context for UI.