embed mode fix for desktops