You might have some error in your HUD.
Did you set the "full tile" and "empty tile" for every "var tiles" HUD elements you display).
Try to remove some elements (maybe your added too much of them in your HUD). Then, you can try to add them one by one. To check when the issue appears.