Bug 943846 - Make APZC's generated display port contain the composition bounds. r=kats

A bug in layout means that setting a displayport on an element that doesn't
contain its scroll frame may cause the display item to be optimised away
(bug 936500).