Fixes frame plugin to ignore capturing the event target on form submits if the target is not a button or input[type="submit"].