Fixes for profiler rendering.