superDrawRect function