#503104 by fractile81 and soxofaan: maxlength of Math response textfield was only based on result, but should also take x and y into account