Uses available title/message width instead of alert view width

This bugfix makes sure title/message height is calculated correctly. It wasn't taking margins into account before. That was causing text wrapping issues when text is too long for width with margins, but would fit in alert view without margins.