Fixed error due to API change in init of UIAttachmentBehavior