Changing the event to listen to so that we can properly prevent the focus shifting