Animation direction fix