do not check abstract casts in display mode
closes issue #1998