Debugging and input listener layering