fixed sorting and hps widget topmost issue