Fixes to rendering of exponentials