Fixed machine breaking on browser resize.