Dunno, this kind of problems generally occur because of limits that have to do with Z-Buffering.
Try using a different Z-Buffer mode and changing paletted textures. Try various combinations.
Also, make sure you're using the latest version of nullDC (v1.0.3).