Bug 467442 - take transforms into account for popup placement, r=bz,f=tnikkel