fixes fullscreen using html5 technology

This PR fixes fullscreen functionality for HTML5 tech broken by 3a32f44 commit in `media.js`.

Issue is easily reproducible. Just try toggling fullscreen in Chrome. You'll get blackscreen, because tech was not reloaded back properly.