Prevent page reload on minimising fullscreen video

Fixes #611.