Extend fix from #1208 to all browsers since Firefox also has a problem with selection when deleting options first.