SET-VIEWPORT-EVENT-HANDLER: Ensure only one callback is active at any point in time.