Use pre draw listener to get view sizes.

Fixes #74
Don't throw on invalid urls.

Fixes #71.
Bump version to 2.0.5