InMoovGestureCreator - importminresmax - add a null pointer check