Fix palette sharing with multiple displays