Instead of setting a position of the HudMarginComponent a margin from the edges of the viewport can be used instead.