// Ensure the merged data we are using is appropriate to image
// Note that, some of the time, the type of merged.id and position
// may not be the same. (though their values will stil equate under
// javascript's equality rules) Therefore, it isn't safe to require
// the types of both to be equal.
// tl;dr: don't change the equality comparison to "==="
var merged;
if( this.merged.id == position )
{
merged = this.merged;
}
else
{
merged = this.merged.parent.getChild(position);
}