fixed bug with resetting frameIndexInitialPlay