Bug 1043644 - Use the content viewer bounds instead of the view bounds if available. r=tn
Bug 1043644 - Use the frame bounds instead of the view bounds. r=kats
merge m-i -> ash