Workaround for auto layout bug in iOS 7. Fixes #27.