Fix for Chrome being terrible and imcompetent