Fix width calculataion of collection view. Xcode6

We need this if we compile from Xcode 6 (verified on GM). No need in this when compiling form Xcode 5.
See #1