Fix action popup position to work both in single and list machine view