1 px animation bug fix