Added preservation of the graphics profile just in case the user changes it during the pre-graphics device creation event.