Fix bug with stroke animation disabled