Added ability to set min hud size and const hud size