fix bug with firefox collapsing distortions