Fix dropdown behavior