Workaround for weird Intel driver behavior.