A friend of mine faced a similar issue after he installed a roll cage, his helmet would keep banging against the ceiling whenever he hit a bump. The factory seat rails don't offer much in terms of height adjustment, so he ended up getting some adjustable seat mounts to lower his seat and create more clearance. You might want to consider getting new mounts or drop brackets to gain that extra space