Bug fix: Fix a BadRegion error with --glx-use-copysubbuffermesa

Just a small and mostly harmless issue. Sorry, didn't test throughly.