makes sure that blending is enabled and set to the last mode specified
by the user, should take care of issue #2021