Fix flip tiles in FF;