fix #1550 npe image helper.get image size

fix #1550 npe image helper.get image size
Shouldn't this use `mWeakContext.get()` rather than `getActivity()`?