Fixed compatibility issues with MyBB 1.6.11