fix #1550 npe image helper.get image size

fix #1550 npe image helper.get image size
Yep, not sure if this necessary onPreExecute should be executed before activity is gone. fixed in ed431589a65e0cc56e86df6b1c7d8e1c44147d4d