Fix firefox styles for key index