Safeguard against possible infinite loop when calculating words per line in IMBAlertPopoverViewController

This is a workaround and should be revisited by Peter for a more sound solution
Merge branch 'master' of github.com:iMediaSandboxing/iMedia