I was having a similar issue where a WPF MediaElement was preventing the screensaver from kicking in. Enabling the "Allow screen saver during playback" setting in Windows Media Player Legacy resolved the issue -