Some draw code did not respect Show Overlays option. These were:
- All mode based drawing engines (edit mode)
- Wireframe drawing
This change make them respect the Show Overlays Option. Please note that sculpt mode will show the sculpt mesh and currently can't show the render mesh as it is updated when the user leaves sculpt mode.