Fix overlay display in scrollable views for trunk

Fix a problem discovered with Overlay in scrollables, as explained in the first comment to ticket https://bugs.dojotoolkit.org/ticket/13865.

IBM CCLA.