Added the ability to get the current viewport dimensions from the DisplayManager.