improve DrawProfiler

fixes #4432