Fix 'jaggies' in firefox

A workaround to prevent 'jaggies' appearing on element edges due to lack of antialiasing on rotated elements in firefox.