Fix related to #1199, issue with using scrollbar causing dropdown to close