Ensure layout callbacks are always called.