Fixes XenForo attachment module