ipad: work around iOS 8 issues (#266)