Fix positioning of result menu on multiline equations.