Disable gesture in frame