Fix hwWidget/Window in Firefox
Fix error if HM_ID not exist