Fix wrong gui sizing formula.