Mac: Fix performance issues with remote CoreAnimation