Add frame function to menu_ctx_driver_t struct