add null check to content before accessing properties
remove null check, nullify listeners on loaderCancel instead
Merge pull request #22 from massiveinteractive/fix/image-loader-null-content

Add null check to content before accessing properties