contains() was relying on some attributes being set by draw(). Add code to make contains() not cause a traceback if draw() has not been called.
Authored by: ryanmay 2010-10-06
Parent: [r8729]
Child: [r8731]