Fixed box alignment for the cursor or screwed it up even more, I can't test it