Fixed issue with single click when not showing code preview