fix trainsitions in safary and refresh sprites