Debugging drawObject