Bugfixes to SCORM tracking