Don't process attachment views when the frame has a 0 w/h.

Fixes #2295 

If the frame that is passed to the delegate method has a zero width or height return nil since the view would not be visible anyway.  This resolves an issue where a small blue (link color) dot would be visible in cases where the frame had a zero width but a positive height.