fix audio glitch and inconsistent media position introduced by https://github.com/mangui/flashls/commit/47d2efdbcfc739d9b7da43132eccb50873754437
related to https://github.com/mangui/flashls/issues/31