fixed bug with autopause, it happend if setResumed was called before
setPaused