Objective-C view doesn't prevent flash event