Revert "Resolved HUDLayer.as warning (again)."

This reverts commit d9b091a74bc7fb1300cd0b1716ac477966ec9fc9.