Fix errors in playback with IE, fix #1342