Fix a bug in section events when keyboard does nothing in forms

Signed-off-by: alfabrad <zerovamp@hotmail.com>