Updated drawing collision detection to vector-based method from bounding box method.