fix trackPopupMenu & trackPopupMenuEx