changed the HUD to move with the hud rectangle

Now if the HUD rectangle is moved, the elements will move with it