Fixed issue with login dropdown hiding onclick