Security patch for Designer and Designer visual mode