Fix a bug when dropdown list appears in a reverse situation while it should not appear