fix(ihm): correct detect button event for IE11 (closes #4937)