html5_video: fix poster behavior on safari (fix #298)