Fixed a bug in HUDLoader