Fixed firefox tab bug