Fix a problem with Intel integrated graphic cards.