ANDROID: fix drawImageRegion crash