A fix for select action bug in FireFox