Added support for hud in view