Fixed Optifine compatibility.