Fixed null pointer exception when rendering in enhance mode with no selected region.