Fix error when initializing HUD in HacX

Caused by changes in recent commit
618751b00591dca4c4e2bc685dcef3636d3f6eee.