epub: fix media overlay support with basic tests