fix matrix popup location