Fix styles of caption on firefox