Fix tab effects for Firefox