Game stop the gif at the right time