Correctly check for RGUI_ACTION_OK.