[ticket/11556] Load apply_onkeypress_event() correctly

PHPBB3-11556