Fixes potential dereference of null pointer
Moves firing of stubbed gesture recognizers into UIView category in stubs library