Fix regression bug associated with showOnHover option and vertical scrollbars