Fixed initial animation issue