[Fixes#70771694] Fixes weird button behavior with FF