Type errors shown with frame around rather than background color