Placed template box over query image in upper right corner