@@ -272,7 +272,7 @@ Item {
272272 var tile = findChild(spreadView, "spreadDelegate_" + topLevelSurfaceList.idAt(data.index));
273273 var appId = ApplicationManager.get(data.index).appId;
274274
275− if (tile.mapToItem(spreadView).x > spreadView.width) {
275+ if (tile.mapToItem(spreadView, 0, 0).x > spreadView.width) {
276276 // Item is not visible... Need to flick the spread
277277 var startX = phoneStage.width - units.gu(1);
278278 var startY = phoneStage.height / 2;
@@ -286,7 +286,7 @@ Item {
286286
287287 console.log("clicking app", data.index, "(", appId, ")")
288288 tryCompare(tile, "swipeToCloseEnabled", true);
289− mouseClick(spreadView, tile.mapToItem(spreadView).x + units.gu(1), spreadView.height / 2)
289+ mouseClick(spreadView, tile.mapToItem(spreadView, 0, 0).x + units.gu(1), spreadView.height / 2)
290290 tryCompare(ApplicationManager, "focusedApplicationId", appId);
291291 tryCompare(spreadView, "phase", 0);
292292 }