Fix 'jaggies' (antialiasing on rotated elements) in firefox

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