Don't call performCompositing() directly from bufferSwapComplete()
Start the composite timer instead, so we don't call performCompositing() from the event handler.