Fix document button positions