Add better debugging for drawing incomplete objects. Fixes #12