fix thumbnail displayed inline